package com.atguigu.eduservice.entity.subject;

import lombok.Data;

import java.util.List;

/**
 * @author fxy
 * @date 2022/5/4 15:07
 * 一级分类
 */
@Data
public class OneSubject {

    private String id;

    private String title;

    //一个一级分类里面有多个二级分类
    private List<TwoSubject> children;
}
